/*
 * @Author: wuzhen
 * @Date: 2019-12-03 14:04:35
 * @LastEditors  : wuzhen
 * @LastEditTime : 2020-01-11 09:08:06
 * @Description: 系统管理
 */
const routes = [
  {
    path: "/system",
    component: () => import("@/components/main"),
    redirect: "/system/user",
    name: "system",
    meta: {
      title: "系统权限"
    },
    children: [
      {
        path: "/system/user",
        name: "system-user",
        component: () => import("@/views/system/user"),
        meta: {
          title: "账号管理",
          activeMenu: "system-user"
        }
      },
      {
        path: "/system/role",
        name: "system-role",
        component: () => import("@/views/system/role"),
        meta: {
          title: "角色管理",
          activeMenu: "system-role"
        }
      }
    ]
  }
];

export default routes;
